#include <jni.h>
#include <string>
#include "Student.h"




extern "C" {
JNIEXPORT jint JNICALL
Java_com_wondersgroup_ndktest2_Utis_getAddValue(JNIEnv *env, jclass type, jint a, jint b) {

    // TODO
    int c = 16;
    return  a+b;

}


jstring
Java_com_wondersgroup_ndktest2_MainActivity_stringFromJNI(
        JNIEnv *env,
        jobject /* this */) {
    std::string hello = "Hello from C++";
    hss::Student   *pStu = new hss::Student();
    hello.append(pStu ->getName()) ;
    delete(pStu);
    pStu = NULL;
    return env->NewStringUTF(hello.c_str());
}
}